package com.ronri.ams.bean;

import java.util.List;

/**
 * 文件：ams.java
 * 包名：com.ronri.ams.bean;
 * 说明：
 * 作者：MS During
 * 日期：2017/5/18
 * 历史：
 */
public class uploadSample {
    /**
     * create_user : 11
     * detector_id : 174
     * inspectd_unit : 17146
     * project_id : 54
     * sample_area : 3204
     * sample_date : 2017-05-14 00:00:00
     * sample_user : 13,14,12
     * section : 2
     * section_type : 123
     * task_id : 30
     * sample_attach : [{"attach_name":"timg","attach_url":"http://localhost:8080/ams/upload/image/20170515/1494813701353.jpg","create_user":11}]
     * sample_breed : [{"bar_code":"32","breed_id":1365,"breed_byname":"黄瓜","breed_base":321,"breed_number":123,"breed_source":"123","create_user":11,"remark":"","sample_location":"武进区郑陆镇羌家村委中巷"},{"bar_code":"321","breed_id":1364,"breed_byname":"南瓜","breed_base":321,"breed_number":123,"breed_source":"1232","create_user":11,"remark":"","sample_location":"武进区郑陆镇羌家村委中巷"}]
     */

    private int create_user;
    private int detector_id;
    private int inspectd_unit;
    private int project_id;
    private String sample_area;
    private String sample_date;
    private String sample_user;
    private String section;
    private int section_type;
    private int task_id;
    private List<SampleAttachBean> sample_attach;
    private List<SampleBreedBean> sample_breed;

    public int getCreate_user() {
        return create_user;
    }

    public void setCreate_user(int create_user) {
        this.create_user = create_user;
    }

    public int getDetector_id() {
        return detector_id;
    }

    public void setDetector_id(int detector_id) {
        this.detector_id = detector_id;
    }

    public int getInspectd_unit() {
        return inspectd_unit;
    }

    public void setInspectd_unit(int inspectd_unit) {
        this.inspectd_unit = inspectd_unit;
    }

    public int getProject_id() {
        return project_id;
    }

    public void setProject_id(int project_id) {
        this.project_id = project_id;
    }

    public String getSample_area() {
        return sample_area;
    }

    public void setSample_area(String sample_area) {
        this.sample_area = sample_area;
    }

    public String getSample_date() {
        return sample_date;
    }

    public void setSample_date(String sample_date) {
        this.sample_date = sample_date;
    }

    public String getSample_user() {
        return sample_user;
    }

    public void setSample_user(String sample_user) {
        this.sample_user = sample_user;
    }

    public String getSection() {
        return section;
    }

    public void setSection(String section) {
        this.section = section;
    }

    public int getSection_type() {
        return section_type;
    }

    public void setSection_type(int section_type) {
        this.section_type = section_type;
    }

    public int getTask_id() {
        return task_id;
    }

    public void setTask_id(int task_id) {
        this.task_id = task_id;
    }

    public List<SampleAttachBean> getSample_attach() {
        return sample_attach;
    }

    public void setSample_attach(List<SampleAttachBean> sample_attach) {
        this.sample_attach = sample_attach;
    }

    public List<SampleBreedBean> getSample_breed() {
        return sample_breed;
    }

    public void setSample_breed(List<SampleBreedBean> sample_breed) {
        this.sample_breed = sample_breed;
    }

    public static class SampleAttachBean {
        /**
         * attach_name : timg
         * attach_url : http://localhost:8080/ams/upload/image/20170515/1494813701353.jpg
         * create_user : 11
         */

        private String attach_name;
        private String attach_url;
        private int create_user;

        public String getAttach_name() {
            return attach_name;
        }

        public void setAttach_name(String attach_name) {
            this.attach_name = attach_name;
        }

        public String getAttach_url() {
            return attach_url;
        }

        public void setAttach_url(String attach_url) {
            this.attach_url = attach_url;
        }

        public int getCreate_user() {
            return create_user;
        }

        public void setCreate_user(int create_user) {
            this.create_user = create_user;
        }
    }

    public static class SampleBreedBean {
        /**
         * bar_code : 32
         * breed_id : 1365
         * breed_byname : 黄瓜
         * breed_base : 321
         * breed_number : 123
         * breed_source : 123
         * create_user : 11
         * remark :
         * sample_location : 武进区郑陆镇羌家村委中巷
         */

        private String bar_code;
        private int breed_id;
        private String breed_byname;
        private int breed_base;
        private int breed_number;
        private String breed_source;
        private int create_user;
        private String remark;
        private String sample_location;

        public String getBar_code() {
            return bar_code;
        }

        public void setBar_code(String bar_code) {
            this.bar_code = bar_code;
        }

        public int getBreed_id() {
            return breed_id;
        }

        public void setBreed_id(int breed_id) {
            this.breed_id = breed_id;
        }

        public String getBreed_byname() {
            return breed_byname;
        }

        public void setBreed_byname(String breed_byname) {
            this.breed_byname = breed_byname;
        }

        public int getBreed_base() {
            return breed_base;
        }

        public void setBreed_base(int breed_base) {
            this.breed_base = breed_base;
        }

        public int getBreed_number() {
            return breed_number;
        }

        public void setBreed_number(int breed_number) {
            this.breed_number = breed_number;
        }

        public String getBreed_source() {
            return breed_source;
        }

        public void setBreed_source(String breed_source) {
            this.breed_source = breed_source;
        }

        public int getCreate_user() {
            return create_user;
        }

        public void setCreate_user(int create_user) {
            this.create_user = create_user;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public String getSample_location() {
            return sample_location;
        }

        public void setSample_location(String sample_location) {
            this.sample_location = sample_location;
        }
    }
}
